#ifndef __TYPES_H
#define __TYPES_H

#include <wchar.h>

#undef s64
#undef s32
#undef s16
#undef s8
#undef u64
#undef u32
#undef u16
#undef u8
#undef ulong
#undef uint
#undef uchar

#define s64 long long
#define s32 int
#define s16 short
#define s8  char
#define u64 unsigned long long
#define u32 unsigned int
#define u16 unsigned short
#define u8  unsigned char

#define ulong unsigned long
#define uint unsigned int
#define uchar unsigned char

#define unicode_t wchar_t

typedef enum {
	false = 0,
	true = 1,
	FALSE = 0,
	TRUE = 1,
} BOOLEAN;

typedef struct {
	u8 r;
	u8 g;
	u8 b;
} COLOR;

typedef struct {
	s16 x;
	s16 y;
} COORD;

#endif
